package com.lhn.spring5.entity;

/**
 * 订单表
 *
 * @author lhn
 * @date 2022/01/05 16:33
 * @since 1.0.0
 **/
public class Order {
    
    /** id */
    private int orderId;
    /**
     * 名称
     */
    private String orderName;

    public Order() {
    }

    public Order(int orderId, String orderName) {
        this.orderId = orderId;
        this.orderName = orderName;
    }

    public int getOrderId() {
        return orderId;
    }

    public void setOrderId(int orderId) {
        this.orderId = orderId;
    }

    public String getOrderName() {
        return orderName;
    }

    public void setOrderName(String orderName) {
        this.orderName = orderName;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("Order{");
        sb.append("orderId=").append(orderId);
        sb.append(", orderName='").append(orderName).append('\'');
        sb.append('}');
        return sb.toString();
    }
}